home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / fcfgw40s.zip / PROPFI~1.CPP < prev    next >
C/C++ Source or Header  |  1996-04-17  |  1KB  |  57 lines

  1. // PropFileFlag.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "FileCFG.h"
  6. #include "PropFileFlag.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CPropFileFlag property page
  16.  
  17. IMPLEMENT_DYNCREATE(CPropFileFlag, CPropertyPage)
  18.  
  19. CPropFileFlag::CPropFileFlag() : CPropertyPage(CPropFileFlag::IDD)
  20. {
  21.     //{{AFX_DATA_INIT(CPropFileFlag)
  22.     m_CDROM = FALSE;
  23.     m_Free = FALSE;
  24.     m_Tops = FALSE;
  25.     m_MaxFiles = 0;
  26.     m_MaxBytes = 0;
  27.     //}}AFX_DATA_INIT
  28. }
  29.  
  30. CPropFileFlag::~CPropFileFlag()
  31. {
  32. }
  33.  
  34. void CPropFileFlag::DoDataExchange(CDataExchange* pDX)
  35. {
  36.     CPropertyPage::DoDataExchange(pDX);
  37.     //{{AFX_DATA_MAP(CPropFileFlag)
  38.     DDX_Check(pDX, IDC_CHECK_CDROM, m_CDROM);
  39.     DDX_Check(pDX, IDC_CHECK_FREE, m_Free);
  40.     DDX_Check(pDX, IDC_CHECK_TOPS, m_Tops);
  41.     DDX_Text(pDX, IDC_EDIT_MAX_FILES, m_MaxFiles);
  42.     DDV_MinMaxInt(pDX, m_MaxFiles, 0, 65535);
  43.     DDX_Text(pDX, IDC_EDIT_MAX_KBYTES, m_MaxBytes);
  44.     DDV_MinMaxInt(pDX, m_MaxBytes, 0, 65535);
  45.     //}}AFX_DATA_MAP
  46. }
  47.  
  48.  
  49. BEGIN_MESSAGE_MAP(CPropFileFlag, CPropertyPage)
  50.     //{{AFX_MSG_MAP(CPropFileFlag)
  51.         // NOTE: the ClassWizard will add message map macros here
  52.     //}}AFX_MSG_MAP
  53. END_MESSAGE_MAP()
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56. // CPropFileFlag message handlers
  57.